#if VERTEX
    in layout(location = POSITION) vec2 in_position;
    out vec2 texCoord;

    void main()
    {
        gl_Position = vec4(2*in_position-1, 0, 1);
        texCoord = in_position;
    }
#endif


#if FRAGMENT
    uniform sampler2D src;
    in vec2 texCoord;
    out vec4 out_colour;
    
    void main()
    {
        out_colour = texture(src, texCoord);
    }
#endif
